3.40 \(\int (a \cos ^2(x))^{3/2} \, dx\)

Optimal. Leaf size=34 \[ \frac {1}{3} \tan (x) \left (a \cos ^2(x)\right )^{3/2}+\frac {2}{3} a \tan (x) \sqrt {a \cos ^2(x)} \]

[Out]

1/3*(a*cos(x)^2)^(3/2)*tan(x)+2/3*a*(a*cos(x)^2)^(1/2)*tan(x)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3203, 3207, 2637} \[ \frac {1}{3} \tan (x) \left (a \cos ^2(x)\right )^{3/2}+\frac {2}{3} a \tan (x) \sqrt {a \cos ^2(x)} \]

Antiderivative was successfully verified.

[In]

Int[(a*Cos[x]^2)^(3/2),x]

[Out]

(2*a*Sqrt[a*Cos[x]^2]*Tan[x])/3 + ((a*Cos[x]^2)^(3/2)*Tan[x])/3

Rule 2637

Int[sin[Pi/2 + (c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sin[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 3203

Int[((b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> -Simp[(Cot[e + f*x]*(b*Sin[e + f*x]^2)^p)/(2*f*p), x]
 + Dist[(b*(2*p - 1))/(2*p), Int[(b*Sin[e + f*x]^2)^(p - 1), x], x] /; FreeQ[{b, e, f}, x] &&  !IntegerQ[p] &&
 GtQ[p, 1]

Rule 3207

Int[(u_.)*((b_.)*sin[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Di
st[((b*ff^n)^IntPart[p]*(b*Sin[e + f*x]^n)^FracPart[p])/(Sin[e + f*x]/ff)^(n*FracPart[p]), Int[ActivateTrig[u]
*(Sin[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] &&  !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] |
| MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig
]])

Rubi steps

\begin {align*} \int \left (a \cos ^2(x)\right )^{3/2} \, dx &=\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)+\frac {1}{3} (2 a) \int \sqrt {a \cos ^2(x)} \, dx\\ &=\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)+\frac {1}{3} \left (2 a \sqrt {a \cos ^2(x)} \sec (x)\right ) \int \cos (x) \, dx\\ &=\frac {2}{3} a \sqrt {a \cos ^2(x)} \tan (x)+\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 26, normalized size = 0.76 \[ \frac {1}{12} a (9 \sin (x)+\sin (3 x)) \sec (x) \sqrt {a \cos ^2(x)} \]

Antiderivative was successfully verified.

[In]

Integrate[(a*Cos[x]^2)^(3/2),x]

[Out]

(a*Sqrt[a*Cos[x]^2]*Sec[x]*(9*Sin[x] + Sin[3*x]))/12

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 26, normalized size = 0.76 \[ \frac {{\left (a \cos \relax (x)^{2} + 2 \, a\right )} \sqrt {a \cos \relax (x)^{2}} \sin \relax (x)}{3 \, \cos \relax (x)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*cos(x)^2)^(3/2),x, algorithm="fricas")

[Out]

1/3*(a*cos(x)^2 + 2*a)*sqrt(a*cos(x)^2)*sin(x)/cos(x)

________________________________________________________________________________________

giac [A]  time = 0.29, size = 17, normalized size = 0.50 \[ -\frac {1}{3} \, {\left (\sin \relax (x)^{3} - 3 \, \sin \relax (x)\right )} a^{\frac {3}{2}} \mathrm {sgn}\left (\cos \relax (x)\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*cos(x)^2)^(3/2),x, algorithm="giac")

[Out]

-1/3*(sin(x)^3 - 3*sin(x))*a^(3/2)*sgn(cos(x))

________________________________________________________________________________________

maple [A]  time = 0.08, size = 24, normalized size = 0.71 \[ \frac {a^{2} \cos \relax (x ) \sin \relax (x ) \left (2+\cos ^{2}\relax (x )\right )}{3 \sqrt {a \left (\cos ^{2}\relax (x )\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*cos(x)^2)^(3/2),x)

[Out]

1/3*a^2*cos(x)*sin(x)*(2+cos(x)^2)/(a*cos(x)^2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.89, size = 17, normalized size = 0.50 \[ \frac {1}{12} \, {\left (a \sin \left (3 \, x\right ) + 9 \, a \sin \relax (x)\right )} \sqrt {a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*cos(x)^2)^(3/2),x, algorithm="maxima")

[Out]

1/12*(a*sin(3*x) + 9*a*sin(x))*sqrt(a)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int {\left (a\,{\cos \relax (x)}^2\right )}^{3/2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*cos(x)^2)^(3/2),x)

[Out]

int((a*cos(x)^2)^(3/2), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*cos(x)**2)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________